package me.ereach;

public class MainEmp {
    public static void main(String[] args) {
        Employee emp1 = new Employee("Tom", "male", 10, 5000, 30, 20);
        Employee emp2 = new Employee("Jerry", "male", 12, 5000, 30, 20);
        Person person1 = new Person("Cherry", "female", 16);
        Person person2 = new Person("Wendy", "female", 18);

        Queue<Person> queue = new Queue<>(4);
        queue.add(emp1);
        queue.add(emp2);
        queue.add(person1);
        queue.add(person2);

        Utils.printPerson(queue);
    }
}
